package msgActivity;


import com.sangdaelee.example.kakaoproject.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ItemDate extends LinearLayout {
	
	TextView tvDate;
	

	public ItemDate(Context context) {
		super(context);
		LayoutInflater inflater = LayoutInflater.from(context);
		inflater.inflate(R.layout.list_item_date, this);
		tvDate = (TextView) findViewById(R.id.dateText);
	}
	
	public void setData(Data data) {
		tvDate.setText(data.date);
	}

}
